package com.SwaggerTest.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "Person对象说明")
@Data
public class Person {


    @ApiModelProperty(value = "父亲的信息")
    private  Parent parent;

    @ApiModelProperty(value = "姓名", required = true, example = "小明")
    private String name;

    @ApiModelProperty(value = "年龄", required = true, example = "18")
    private String age;

    @ApiModelProperty(value = "地址", required = true, example = "地球村第888号")
    private String adress;

    @ApiModelProperty(value = "邮件", required = true, example = "379753498@qq.com")
    private String email;


}
